home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / CommToolbox (modified) / Sources / CAbstractBuffer.cp next >
Encoding:
Text File  |  1994-11-30  |  2.1 KB  |  123 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  CAbstractBuffer.cp
  3.  
  4.         Interface for CAbstractBuffer class.
  5.         
  6.     SUPERCLASS = CObject
  7.     
  8.     Copyright © 1994-95 Ithran Einhorn. All rights reserved.
  9.  ******************************************************************************/
  10.  
  11. #pragma once
  12.  
  13. #include "CAbstractBuffer.h"
  14.  
  15. void CAbstractBuffer::IAbstractBuffer(void)
  16. {
  17. }
  18.  
  19. /** Text Specification **/
  20.  
  21. void    CAbstractBuffer::SetTextPtr(Ptr textPtr, long numChars)
  22. {
  23.     SubclassResponsibility();
  24. }
  25.  
  26. void    CAbstractBuffer::UseTextHandle(Handle textHandle)
  27. {
  28.     SubclassResponsibility();
  29. }
  30.  
  31. void    CAbstractBuffer::InsertTextPtr(Ptr insertPtr, long insertLen)
  32. {
  33.     SubclassResponsibility();
  34. }
  35.  
  36. Handle    CAbstractBuffer::CopyTextRange(long start, long end)
  37. {
  38.     SubclassResponsibility();
  39.     return NULL;
  40. }
  41.  
  42. void    CAbstractBuffer::ReplaceSelection(Ptr replacePtr, long replaceLen)
  43. {
  44.     SubclassResponsibility();
  45. }
  46.  
  47. /** Accessing **/
  48. Handle    CAbstractBuffer::GetTextHandle(void)
  49. {
  50.     SubclassResponsibility();
  51.     return NULL;
  52. }
  53.  
  54. Handle    CAbstractBuffer::GetRawTextHandle(void)
  55. {
  56.     SubclassResponsibility();
  57.     return NULL;
  58. }
  59.     
  60. long    CAbstractBuffer::FindLine(long charPos)
  61. {
  62.     SubclassResponsibility();
  63.     return 0L;
  64. }
  65.  
  66. long    CAbstractBuffer::GetLineStart(long line)
  67. {
  68.     SubclassResponsibility();
  69.     return 0L;
  70. }
  71.  
  72. long    CAbstractBuffer::GetLineEnd(long line)
  73. {
  74.     SubclassResponsibility();
  75.     return 0L;
  76. }
  77.  
  78. short    CAbstractBuffer::GetLineLength(long line)
  79. {
  80.     SubclassResponsibility();
  81.     return 0;
  82. }
  83.  
  84. long    CAbstractBuffer::GetLength(void)
  85. {
  86.     SubclassResponsibility();
  87.     return 0L;
  88. }
  89.  
  90. long    CAbstractBuffer::GetNumLines(void)
  91. {
  92.     SubclassResponsibility();
  93.     return 0L;
  94. }
  95.  
  96. void    CAbstractBuffer::GetSelection(long *selStart, long *selEnd)
  97. {
  98.     SubclassResponsibility();
  99. }
  100.  
  101. void    CAbstractBuffer::GetCharBefore(long *aPosition, tCharBuf charBuf)
  102. {
  103.     SubclassResponsibility();
  104. }
  105.  
  106. void    CAbstractBuffer::GetCharAfter(long *aPosition, tCharBuf charBuf)
  107. {
  108.     SubclassResponsibility();
  109. }
  110.  
  111. long    CAbstractBuffer::GetGapPosition(void)
  112. {
  113.     SubclassResponsibility();
  114.     return 0L;
  115. }
  116.  
  117. long    CAbstractBuffer::GetGapLength(void)
  118. {
  119.     SubclassResponsibility();
  120.     return 0L;
  121. }
  122.  
  123.